@extends('admin.base')
    @section('content')
        <!-- Content Header (Page header) -->
        <section class="content-header">

        @if (count($errors) > 0)
          <div class="alert alert-danger">
            <ul>
            @foreach ($errors->all() as $error)
                <li>{{ $error }}</li>
            @endforeach
          </ul>
        </div>
      @endif
          <h1>
            <i class="fa fa-calendar"></i>
			板块信息添加
          </h1>
          <ol class="breadcrumb">
            <li><a href="#"><i class="fa fa-dashboard"></i> 首页</a></li>
            <li><a href="#">板块管理</a></li>
            <li class="active">添加</li>
          </ol>
        </section>

        <!-- Main content -->
        <section class="content">
          <div class="row">
            <!-- right column -->
            <div class="col-md-12">
              <!-- Horizontal Form -->
              <div class="box box-primary">
                <div class="box-header with-border">
                  <h3 class="box-title"><i class="fa fa-plus"></i> 添加信息</h3>
                </div><!-- /.box-header -->
                <!-- form start -->
                <form action="{{url('admin/display')}}" method="post" class="form-horizontal" enctype="multipart/form-data">
                  <input type="hidden" name="_token" value="<?php echo csrf_token(); ?>">
                  <div class="box-body">

                     <!-- 图片显示区 -->
                     <div class="form-group">
      
                       <div class="col-sm-4" width="80" height="100">
                        

    
                       </div>
                     </div>
                     <!-- 图片显示区结束 -->

                    <div class="form-group">
                       <label for="inputPassword3" class="col-sm-2 control-label">图片</label>
                       <div class="col-sm-4">
                         <input type="file"  name="photo">
                       </div>
                     </div>
                                       
                     <div class="form-group">
                       <label for="inputPassword3" class="col-sm-2 control-label">描述</label>
                       <div class="col-sm-4">
                         <input type="text" class="form-control" id="inputPassword3" placeholder="相关描述" name="content">
                       </div>
                     </div>
                     
                     <div class="form-group">
                       <label for="inputPassword3" class="col-sm-2 control-label">状态</label>
                       <div class="col-sm-4">
                         <input type="radio"  name="status" value="1" checked>使用  &nbsp; &nbsp; 
                         <input type="radio"  name="status" value="0">备选
                       </div>
                     </div>
                   </div>
                   <!-- /.box-body-->
                  <div class="box-footer">
        				    <div class="col-sm-offset-2 col-sm-1">
        						  <button type="submit" class="btn btn-primary">添加</button>
                    </div>
          					<div class="col-sm-1">
          						<button type="reset" class="btn btn-primary">重置</button>
          					</div>
                  </div>
                  <!-- /.box-footer -->
                </form>
				        <div class="row"><div class="col-sm-12">&nbsp;</div></div>
              </div><!-- /.box -->
       
            </div><!--/.col (right) -->
          </div>   <!-- /.row -->
        </section><!-- /.content -->
    @endsection

    